import request from '@/utils/request'

// 查询项目涉及领域
export function listProjectCatory(query) {

    let r = {};

    r.data = [
        {label:'市政',children:[]},
        {label:'房建',children:[]},
        {label:'公路',children:[]},
        {label:'桥梁',children:[]},
        {label:'航道',children:[]},
        {label:'水利设施',children:[]},
        {label:'林业生态',children:[]},
        {label:'自然资源监测管护',children:[]},
        {label:'生态修复',children:[]},
        {label:'国土整治',children:[]},
        {label:'地灾防治',children:[]},
        {label:'环境监测',children:[]},
        {label:'污染治理',children:[]},
        {label:'高标准农田',children:[]},
        {label:'村庄治理',children:[]},
        {label:'渔业设施',children:[]},
        {label:'文物保护修复',children:[]},
        {label:'智慧城市',children:[]},
        {label:'信息化',children:[]}
];
    return r;
//   return request({
//     url: '/system/dept/list',
//     method: 'get',
//     params: query
//   })
}


export function listProjectXmjysInfos(query){
    let r = {};
    r.rows = [
        {
            'projectId':'p01',
            'projectName':'xxx项目',
            'projectCode':'xz00001',
            'estimation':'326964254.2',
            'approvalNumber':'',
            'time':'',
            'name':'',
            'remarks':'',
            'type':'市政',
            'setYear':'2016',
            'xzqh':'420602',
            'status':'20',
            'regDate':'',
            //模型明细信息
            'modelInfosData': [
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2019）286号",
                  'fxml':'2019/7/24',
                  'lh':'66011835.57元',
                  'ms':'关于.....'
                },
                
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2019）287号",
                  'fxml':'2019/7/24',
                  'lh':'58688393.63元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2019）293号",
                  'fxml':'2019/8/12',
                  'lh':'166944315.41元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2020）46号",
                  'fxml':'2019/8/12',
                  'lh':'166944315.41元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2020）46号",
                  'fxml':'2020/4/28',
                  'lh':'20791055.4元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2020）152号",
                  'fxml':'2020/8/13',
                  'lh':'1949230.62元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2020）153号",
                  'fxml':'2020/8/17',
                  'lh':'10924057.57元',
                  'ms':''
                },
                {
                  'kj':'预算金额',
                  'tjkj':"襄财投评（2021）8号",
                  'fxml':'2021/1/11',
                  'lh':'1655365.985元',
                  'ms':''
                }
            ]
        }
    ];
    r.total = 1;
    return r;
}


export function getProject(){
    let r = {};

    return r;
}
